'use strict';

function collect_min_number(collection) {
  //在这里写入代码
  let arr=collection.reduce(function(x,y){
    return x<y?x:y //三目运算符，即满足x>y条件时执行“:”前的语句，否则执行后面的语句
  });
  return arr;
}

module.exports = collect_min_number;

